<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>训练任务管理</title>
    <link rel="icon" href="../static/img/icon.png">
    <link rel="stylesheet" href="../static/js/layui/css/layui.css">
    <link rel="stylesheet" href="../static/css/animate.min.css">
    <link rel="stylesheet" href="../static/css/style.css">

    <style>
        .contain-table {
            background: url(../static/img/bg-con.png);
            background-size: 100% 100%;
            background-repeat: no-repeat;
            margin: 0.3rem;
            height: calc(100% - 0.6rem);
        }

        .contain-table-list {
            background: none;
            height: calc(100% - 1.7rem);
        }

        .contain-tab {
            display: flex;
            height: 0.5rem;
            line-height: 0.5rem;
            border-bottom: 1px solid #19404F;

            >div {
                width: 1.2rem;
                cursor: pointer;

                &.active {
                    color: #20C4FC;
                }

                >i {
                    margin-right: 0.1rem;
                }
            }
        }

        .layui-table-header {
            background: #318E93;
        }

        .layui-table-view {
            background: #153640;

        }


        .contain {

            .contain-toolle {
                width: calc(100% - 0.5rem);
                margin: 0.2rem 0.25rem;
                height: calc(100% - 1.2rem);

                .toolle-top {
                    width: 100%;
                    height: 62%;
                    display: flex;

                    .top-left {
                        height: 100%;
                        width: 75%;
                        margin-right: 2%;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;

                        .left-number {
                            height: 26%;
                            width: 100%;
                            display: flex;
                            justify-content: space-between;

                            .number-item {
                                height: 100%;
                                width: 30%;
                                background-size: 99% 99%;
                                background-position: center;
                                background-repeat: no-repeat;
                                background-color: #0E262D;
                                position: relative;
                                display: flex;
                                justify-content: center;
                                flex-direction: column;
                                padding-left: 0.6rem;
                                color: #B3DBD5;

                                span {
                                    font-size: 0.26rem;
                                    color: #4DFFE5;
                                    margin-bottom: 0.15rem;
                                }

                            }


                            .number-item:nth-child(1) {
                                background-image: url(../static/img/s1.png);
                            }

                            .number-item:nth-child(3) {
                                background-image: url(../static/img/s2.png);
                            }

                            .number-item:nth-child(2) {
                                background-image: url(../static/img/s3.png);
                            }
                        }

                        .left-chart {
                            height: 70%;
                            width: 100%;
                            background-color: #0E262D;

                        }

                    }

                    .top-right {
                        height: calc(100% - 1.2rem);
                        width: 23%;
                        background-color: #0E262D;

                    }
                }

                .toolle-bottom {
                    width: 100%;
                    height: 33%;
                    margin-top: calc(5% - 0.5rem);
                    display: flex;
                    position: relative;

                    .bottom-left {
                        width: 75%;
                        margin-right: 2%;
                        height: 100%;
                        background-color: #0E262D;

                    }

                    .bottom-right {
                        width: 23%;
                        height: calc(100% + 1.2rem);
                        background-color: #0E262D;
                        position: absolute;
                        right: 0;
                        top: -1.2rem;
                    }

                }
            }
        }

        .left-chart-tool {
            width: 100%;
            height: 0.4rem;
            line-height: 0.4rem;
            font-size: 0.16rem;
            color: #D2EAEE;
            text-indent: 0.2rem;
            position: relative;
        }

        .left-chart-tool::before {
            content: '';
            position: absolute;
            top: 0.1rem;
            left: 0;
            width: 0.06rem;
            height: 0.2rem;
            background-color: #15F4B6;
        }

        #left-chart,
        #bottom-chart,
        #already-list,
        #overtime-list {
            width: 100%;
            height: calc(100% - 0.4rem);
        }

        .rank-list {
            width: 100%;
            height: 20%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            img{
                width: 0.4rem;
                height: 0.4rem;
                border-radius: 50%;
            }
        }
    </style>
</head>

<body>
    <div class="app" style="overflow: hidden;">
        <div class="header animate__animated animate__slideInDown">
            <div class="header-title">训战研判系统平台</div>
            <div class="header-menu">

            </div>
        </div>
        <div class="contain">
            <div class="contain-menu animate__animated animate__slideInLeft">

            </div>
            <div class="contain-table">
                <div class="contain-tab">
                    <div class="contain-tab-item active" data-type=1><i class="layui-icon layui-icon-list"></i>待完成</div>
                    <div class="contain-tab-item" data-type=2><i class="layui-icon layui-icon-ok-circle"></i>已完成</div>
                    <div class="contain-tab-item" data-type=3><i class="layui-icon layui-icon-time"></i>超时</div>
                    <div class="contain-tab-item" data-type=0><i class="layui-icon layui-icon-chart"></i>任务统计</div>
                </div>
                <div class="contain-table-tool tab1" >
                    <form class="layui-form" action=""
                        style="background: linear-gradient(to right, rgba(0,0,0,0),rgba(2, 36, 55,0.8));padding-left: 0.05rem;">
                        <div class="form-item">
                            <input type="text" name="personName" placeholder="人员名称" class="layui-input"
                                lay-affix="clear" />
                        </div>
                        <div class="form-item">
                            <input type="text" name="date" placeholder="时间查询" class="layui-input" id="input-date"
                                lay-affix="clear" />
                        </div>
                        <div class="layui-btn" lay-submit lay-filter="search"><img src="../static/img/icon2.png">查询
                        </div>
                        <button type="reset" id="resetSearch"
                            class="layui-btn layui-btn-primary btn-reset layui-hide">重置</button>
                    </form>
                </div>
                <div class="contain-table-list tab1">
                    <table id="table" lay-filter="table"></table>
                </div>
                <div class="contain-toolle tab2" style="display: none;">
                    <div class="toolle-top">
                        <div class="top-left">
                            <div class="left-number">

                            </div>
                            <div class="left-chart">
                                <div class="left-chart-tool">近12个月已完成任务统计</div>
                                <div id="left-chart"></div>

                            </div>

                        </div>
                        <div class="top-right">
                            <div class="left-chart-tool">近12个月完成任务统计排行</div>
                            <div id="already-list">
                            </div>
                        </div>

                    </div>
                    <div class="toolle-bottom">
                        <div class="bottom-left">
                            <div class="left-chart-tool">近12个月超时次数统计</div>
                            <div id="bottom-chart">
                            </div>

                        </div>
                        <div class="bottom-right">
                            <div class="left-chart-tool">近12个月超时次数排行</div>
                            <div id="overtime-list"></div>
                        </div>

                    </div>

                </div>
            </div>

        </div>
    </div>



    <script type="text/javascript" src="../static/js/util/jquery.min.js"></script>
    <script type="text/javascript" src="../static/js/biz/app.js"></script>
    <script type="text/javascript" src="../static/js/layui/layui.js"></script>
    <script type="text/javascript" src="../static/js/util/echarts.min.js"></script>
    <script type="text/javascript" src="../static/js/biz/trainTask.js"></script>
</body>

</html>